﻿namespace EFCoreLock.Config;

public class HouseConfig:IEntityTypeConfiguration<House>
{
    public void Configure(EntityTypeBuilder<House> builder)
    {
        builder.ToTable("T_House").ToTable(p => p.HasComment("房产表")).HasKey(p=>p.Id);
    }

}
